package com.dwy2002.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dwy2002.pojo.dto.product.ProductPageDTO;
import com.dwy2002.pojo.po.product.Products;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 杜伟毅
 * @version 1.0
 * @since 2025/02/17
 */
@Mapper
public interface ProductsMapper extends BaseMapper<Products> {
    Page<Products> selectProductPage(Page<Products> page, @Param("dto") ProductPageDTO dto);
}